import org.omg.CORBA.Object;

class MyArray<T>{

    T[] array = (T[])new Object[10];
    public void put(int index,T a){
        array[index] = a;
    }

    public T get(int index){
        return array[index];
    }
}


public class Test3 {

    public static void main(String[] args) {
        MyArray<Integer> array = new MyArray<>();
        array.put(0,10);
    }
}
